
var $form_add_task = $('.add-task');
var new_task = {};//== var new_task = new Object();
var task_list = {};

init();

$form_add_task.on('submit',function(e){
    e.preventDefault();
    new_task.content = $(this).find('input[name=content]').val();
    if(!new_task) return;
    console.log(new_task);
});

function init(){
    task_list = store.get('task_list');
}